package com.ruoyi.edit.mapper;

import java.util.List;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.edit.domain.VendorCourseRelPackagev2;

/**
 * 课程教保指引关联Mapper接口
 * 
 * @author qiufeng
 * @date 2022-12-15
 */
public interface VendorCourseRelPackagev2Mapper 
{
    /**
     * 查询课程教保指引关联
     * 
     * @param id 课程教保指引关联主键
     * @return 课程教保指引关联
     */
    @DataSource(value = DataSourceType.SLAVE)
    public VendorCourseRelPackagev2 selectVendorCourseRelPackagev2ById(String id);

    /**
     * 查询课程教保指引关联列表
     * 
     * @param vendorCourseRelPackagev2 课程教保指引关联
     * @return 课程教保指引关联集合
     */
    @DataSource(value = DataSourceType.SLAVE)
    public List<VendorCourseRelPackagev2> selectVendorCourseRelPackagev2List(VendorCourseRelPackagev2 vendorCourseRelPackagev2);

    /**
     * 新增课程教保指引关联
     * 
     * @param vendorCourseRelPackagev2 课程教保指引关联
     * @return 结果
     */
    @DataSource(value = DataSourceType.SLAVE)
    public int insertVendorCourseRelPackagev2(VendorCourseRelPackagev2 vendorCourseRelPackagev2);

    /**
     * 修改课程教保指引关联
     * 
     * @param vendorCourseRelPackagev2 课程教保指引关联
     * @return 结果
     */
    @DataSource(value = DataSourceType.SLAVE)
    public int updateVendorCourseRelPackagev2(VendorCourseRelPackagev2 vendorCourseRelPackagev2);

    /**
     * 删除课程教保指引关联
     * 
     * @param id 课程教保指引关联主键
     * @return 结果
     */
    @DataSource(value = DataSourceType.SLAVE)
    public int deleteVendorCourseRelPackagev2ById(String id);

    /**
     * 批量删除课程教保指引关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    @DataSource(value = DataSourceType.SLAVE)
    public int deleteVendorCourseRelPackagev2ByIds(String[] ids);
}
